﻿@{
    Layout = null;
}
<!DOCTYPE html> 
<html>
    <head>
        <title>@Language.Get("统包管理")</title>
       @Html.Partial("commonMeta")
		<link rel="stylesheet" href="~/css/product_add.css?v=@Wholesaler.Common.Version.Get">
		<link rel="stylesheet" href="~/css/jquery.dad.css?v=@Wholesaler.Common.Version.Get">
    </head>
    <body>
    	<div class="views">
			<div class="view view-main">
				<div class="navbar">
					<div class="navbar-inner">
			            @* 头部start *@
			            <header id="common_header">
			                <a class="menu_icon_box" href="javascript:history.go(-1);">
								<b class="back-btn"></b>
							</a>
			                <h2 id="page_title">@Language.Get("统包新增")</h2>
			            </header>
			            @* 头部end *@
						<!--<div class="term_btn show_term_btn">
							<a href="javascript:history.go(-1)">返回</a>
						</div>-->

			            @* 引入菜单 *@
			            @Html.Partial("teammenu")
					</div>
			    </div>
			    <div class="toolbar toolbar-bottom">
			    	<div class="toolbar-inner form_btn">
			    		<a href="#" class="reset_btn" id="reset_btn">@Language.Get("重置")</a>
			     		<a href="#" class="submit_btn" id="submit_btn">@Language.Get("确定")</a>
					</div>
				</div>
				<div class="pages navbar-through toolbar-through">
		          	<div data-page="index" class="page">
						<div class="page-content" id="app_no_header">
			                <div class="product_bg">
			                	<div class="image_box">
			                		<div class="img-box full">
										<section class="img-section">
											<p class="up-p">@Language.Get("上传图片")：<span class="up-span">@Language.Get("最多可以上传5张图片，支持多张图片上传")</span></p>
											<div class="z_photo upimg-div clear" id="img_box">
												<div id="img_upding_now" class="img_upding_now">
													<img src="~/Images/loading.gif" />
													<em>@Language.Get("上传中")....</em>
												</div>
													 <section class="z_file fl">
														<img src="/images/a11.png" class="add-img">  <!--image/jpg,image/jpeg,image/png,image/bmp-->
														<input type="file" name="file" id="file" class="file" value="" accept="image/jpg,image/jpeg,image/png,image/bmp" multiple />
													 </section>
											 </div>
										 </section>

										<section class="img-sections">
											<p class="up-p">@Language.Get("上传视频")></p>
											<div class="z_photo upimg-div clear" id="video_box">
												<div id="video_upding_now" class="img_upding_now">
													<img src="~/Images/loading.gif" />
													<em>@Language.Get("上传中")....</em>
												</div>
												<section class="z_file fl video_one" onclick="videofile(this)">
													<img src="/images/a12.png" class="add-img">
												</section>
											</div>
										</section>

									</div>
									<aside class="mask works-mask">
										<div class="mask-content">
											<p class="del-p">@Language.Get("您确定要删除图片吗？")</p>
											<p class="check-p"><span class="del-com wsdel-ok">@Language.Get("确定")</span><span class="wsdel-no">@Language.Get("取消")</span></p>
										</div>
									</aside>
									<aside class="mask tip_box" id="tip_box">
										<div class="mask-content tip_content">
											<p class="del-p tip_content" id="tip_content"></p>
											<p class="check-p"><span class="wsdel-no" id="close_tip_btn">@Language.Get("确定")</span></p>
										</div>
									</aside>
			                	</div>
								<form name="parcelForm" id="form_data" class="form_box" method="post" enctype='application/json'>
									<input type="text" id="id_input" style="display: none;"/>
									<div class="form_control category">
										<label>@Language.Get("主石类型")：</label>
										<div id="data_category">
										</div>
										<input type="text" name="Category" id="Category" value="1" style="display: none;"/>
										<input type="text" name="Images" id="Images" style="display: none;"/>
									</div>
									<!-- <div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("款号")：</label>
										<input type="text" placeholder="@Language.Get("款号")" name="StyleNo"/>
									</div>									 -->
									<div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("货号")：</label>
										<input type="text" placeholder="@Language.Get("货号")" name="OriginSN"/>
									</div>
									<div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("形状")：</label>
										<select name="Shape" id="data_shape_new"></select>
									</div>
									<div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("大小")：</label>
										<select name="Size" id="data_size"></select>
									</div>
									<div class="form_control">
										<label>@Language.Get("大小描述")：</label>
										<textarea placeholder="@Language.Get("大小描述")" name="SizeDesc"></textarea>
									</div>
									<div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("颜色")：</label>
										<select name="Color" id="data_color"></select>
									</div>
									<div class="form_control">
										<label>@Language.Get("颜色描述")：</label>
										<textarea name="ColorDesc" id="data_colorDesc"></textarea>
									</div>
									<div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("总重")：</label>
										<input type="number" name="Weight" id="_weight"/>
									</div>
									<div class="form_control">
										<label>@Language.Get("重量描述")：</label>
										<textarea name="WeightDesc"></textarea>
									</div>
									<div class="form_control exchangeRate">
										<label>@Language.Get("汇率")：</label>
										<span id="rate" style="display: inline-block;line-height: 30px;"></span>
									</div>
									<div class="form_control CurrentUSD">
										<label><b class="no_null">*</b>原$/Ct：</label>
										<input type="number" placeholder="@Language.Get("单价")" id="usd_input" name="Price"/>
									</div>
									<div class="form_control CurrentRMB">
										<label>原￥/Ct：</label>
										<input type="number" id="rmb_input" placeholder="@Language.Get("单价")"/>
									</div>
									<div class="form_control CurrentUSD">
										<label><b class="no_null">*</b>总原价$：</label>
										<input type="number" placeholder="@Language.Get("总原价$")" id="usd_inputAll"/>
									</div>
									<div class="form_control CurrentRMB">
										<label>总原价￥：</label>
										<input type="number" id="rmb_inputAll" placeholder="@Language.Get("总原价￥")"/>
									</div>
									<div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("所在地")：</label>
										<select name="Place" id="data_country"></select>
									</div>

									<!-- <div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("状态")：</label>
										<select name="Status" id="data_status"></select>
									</div> -->
									<div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("付款")：</label>
										<select name="ReceiptStatus" id="data_status"></select>
									</div>
									<div class="form_control"> <!-- 买入时间-->
										<label>@Language.Get("买入时间")：</label>
										<input type="text" name="PurchaseTime" placeholder="@Language.Get("买入时间")" readonly id="data_PurchaseTime">
									</div>
									<div class="form_control">
										<label>@Language.Get("发货时间")：</label>
										<input type="text" name="ShipTime" placeholder="@Language.Get("发货时间")" readonly id="data_ShipTime">
									</div>
									<div class="form_control">
										<label>@Language.Get("到货时间")：</label>
										<input type="text" name="ArrivalTime" placeholder="@Language.Get("到货时间")" readonly id="data_ArrivalTime">
									</div>
									<div class="form_control CurrentUSD">
										<label>@Language.Get("采")$/Ct：</label>
										<input type="number" name="PurchaseUSD" placeholder="@Language.Get("采$")" id="purchaseUSDPerGrain"/>
									</div>
									<div class="form_control">
										<label>@Language.Get("采购汇率")：</label>
										<input name="PurchaseExchange" id="purchaseExchange" placeholder="@Language.Get("采购汇率")">
									</div>
									<div class="form_control CurrentRMB">
										<label>@Language.Get("采")￥/Ct：</label>
										<input type="number" name="PurchaseRMB" placeholder="@Language.Get("采￥")" id="purchaseRMB"/>
									</div>
									<div class="form_control CurrentUSD">
										<label>@Language.Get("总采价")$：</label>
										<input type="number"  placeholder="@Language.Get("总采价$")" id="purchaseUSDAll"/>
									</div>
									<div class="form_control CurrentRMB">
										<label>@Language.Get("总采价")￥：</label>
										<input type="number"  placeholder="@Language.Get("总采价￥")" id="purchaseRMBAll"/>
									</div>
									<div class="form_control">
										<label>@Language.Get("采购人")：</label>
										<select name="PurchaseAgent" placeholder="@Language.Get("采购人")" id="purchaseAgent"></select>
									</div>


									<div class="form_control">
										<label>@Language.Get("供应商")：</label>
										<input type="text" name="PurchaseSupplier" placeholder="@Language.Get("采购供应商")"/>
									</div>
									<!-- <div class="form_control">
										<label><b class="no_null">*</b>@Language.Get("上架状态")：</label>
										<label for="OnShelves" class="point_label">
											<input type="radio" name="OnShelves" value="1" id="OnShelves" checked="checked"/>@Language.Get("上架")
										</label>
										<label for="OffShelves" class="point_label">
											<input type="radio" name="OnShelves" value="0" id="OffShelves" />@Language.Get("下架")
										</label>
									</div> -->
									<div class="form_control">
										<label>@Language.Get("其他描述")：</label>
										<textarea name="Descript"></textarea>
									</div>
									<div class="form_control">
										<label>@Language.Get("备注")：</label>
										<textarea name="Remark"></textarea>
									</div>
								</form>
			                </div>
		                <!--内容区end-->

        			 </div>
		       		</div>
		       </div>
			</div>
		</div>


    </body>
    
</html>
@Html.Partial("commonTeamJs")
<script>
    var list=@Html.Raw(ViewBag.PurchaseAgents);
</script>
<script src="~/Js/jquery.form.js"></script>
<script src="~/Js/jquery.validate.min.js"></script>
<script src="~/js/imgUp.js?v=@Wholesaler.Common.Version.Get"></script>
<script src="~/js/jquery.dad.js?v=@Wholesaler.Common.Version.Get"></script>
<script>

	var calendarDateFormat = myApp.calendar({
        input: '#data_ShipTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
	});
	var calendarDateFormat = myApp.calendar({
        input: '#data_PurchaseTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
	});
	var calendarDateFormat = myApp.calendar({
        input: '#data_ArrivalTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
    });
	//库存管理图片拖拽
	$("#img_box").dad({
		draggable:'.up-img'
	});
</script>
<script src="~/js/team/parcels_form.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>
